import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;

public class Client implements Runnable {

	private String m_Id;
	private Socket m_Socket;

	public Client(String id, Socket socket) {
		m_Id = id;
		m_Socket = socket;
	}

	@Override
	public void run() {
		while (true) {
			try {
				BufferedReader bufferedReader = new BufferedReader(
						new InputStreamReader(m_Socket.getInputStream()));

				String line = bufferedReader.readLine();
				//System.out.println("Receive:" + line);
				if(line.equals("RootDirectory")){
					
				}

			} catch (IOException e) {
				e.printStackTrace();
			}

		}
	}

	public String getId() {
		return m_Id;
	}
}
